Implementing an E cient Java
نویسندگان
چکیده
The Java virtual machine (JVM) is usually implemented with an interpreter or just-in-time (JIT) compiler. JIT compilers provide the best performance, but must be substantially rewritten for each architecture they are ported to. Interpreters are easier to develop and maintain, and can be ported to new architectures with almost no changes. The weakness of interpreters is that they are much slower than JIT compilers. This paper describes work in progress on a highly eecient Java interpreter. We describe the main features that make our interpreter ef-cient. Our initial experimental results show that an interpreter-based JVM may be only 1.9 times slower than a compiler-based JVM for some important applications.
منابع مشابه
Implementing Java Consistency Using a Generic, Multithreaded DSM Runtime System
This paper describes the implementation of Hyperion, an environment for executing Java programs on clusters of computers. To provide high performance, the environment compiles Java bytecode to native code and supports the concurrent execution of Java threads on multiple nodes of a cluster. The implementation uses the PM2 distributed, multithreaded runtime system. PM2 provides lightweight thread...
متن کاملHow can hardware support Just-In-Time compilation?
Just-In-Time (JIT) compiler is an e cient and preferred style of implementing the Java Virtual Machine (JVM) on resource-rich machines. Using a JIT compiler, the bytecodes are translated to native code at runtime. In this paper, we investigate where the time is spent in such dynamic compilers and how well a smart JIT compiler can do. Next, we propose architectural mechanisms that can be used to...
متن کاملImplementing an Eecient Java Interpreter
The Java virtual machine (JVM) is usually implemented with an interpreter or just-in-time (JIT) compiler. JIT compilers provide the best performance, but must be substantially rewritten for each architecture they are ported to. Interpreters are easier to develop and maintain, and can be ported to new architectures with almost no changes. The weakness of interpreters is that they are much slower...
متن کاملImplementing Precision Health Care Program at Hospitals in Indonesia. Is It Possible?
Background: A precision health care approach is needed in the context of the healthcare system, especially as an effort to improve the self-management activities of diabetes patients. Thus, the purpose of this study was to explore the perception of the possibility of implementing a precision health care program in hospitals through interviews with policymakers and health professionals. Methods...
متن کاملHarissa: A Flexible and Efficient Java Environment Mixing Bytecode and Compiled Code
The Java language provides a promising solution to the design of safe programs, with an application spectrum ranging from Web services to operating system components. The well-known tradeo of Java's portability is the ine ciency of its basic execution model, which relies on the interpretation of an object-based virtual machine. Many solutions have been proposed to overcome this problem, such as...
متن کامل